<?php
	include_once('config.php');
	include_once('SystemOneAPI.php');
	$api_service_list = "https://202.92.144.6/api/profile/check_id.php";
	$api = new SystemOneAPI($api_service_list, API_USERNAME, API_PASSWORD);
	
	class idClass{
		public $data=0;
		
		public function getData($var){
			$this->data=$var;
		}
	}
	
	$id=new idClass();
	
	$result = $api->execute('check_id',$id->data=>'liphedra');
	print_r($result); 
	
	$api->close();

?>